#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
#include"TotalFruit.h"

int main()
{
	Solution_While s;
	vector<int> v({ 0,1,2,2 });
	cout << s.totalFruit(v) << endl;

	Solution_For ss;
	vector<int> v1({ 0,1,2,2 });
	cout << ss.totalFruit(v1) << endl;

	Solution_Cruzy sss;
	vector<int> v2({ 0,1,2,2 });
	cout << sss.totalFruit(v2) << endl;

	return 0;
}